home *** CD-ROM | disk | FTP | other *** search
/ MacUser Mac Bin 40 / MACUSER-MACBIN40A-1997-03.ISO.7z / MACUSER-MACBIN40A-1997-03.ISO / DEMO / SecretsJ DEMO / WATER.DIR / 00290_Script_290 < prev    next >
Text File  |  1996-12-02  |  2KB  |  54 lines

  1. on enterFrame
  2.   
  3.   repeat with cnt= 22 to 36
  4.     set the visible of sprite cnt to false
  5.   end repeat
  6.   set number=random(9)
  7.   if number = 1 then
  8.     set the visible of sprite 22 to true
  9.     set the visible of sprite 24 to true
  10.     set the visible of sprite 25 to true
  11.   else if number = 2 then
  12.     repeat with water = 23 to 26
  13.       set the visible of sprite water to true
  14.     end repeat
  15.     
  16.   else if number = 3 then
  17.     set the visible of sprite 36 to true
  18.     set the visible of sprite 23 to true
  19.     set the visible of sprite 25 to true
  20.     set the visible of sprite 25 to true
  21.   else if number = 4 then
  22.     set the visible of sprite 28 to true
  23.     set the visible of sprite 22 to true
  24.     set the visible of sprite 35 to true
  25.     set the visible of sprite 31 to true
  26.   else if number = 5 then
  27.     set the visible of sprite 32 to true
  28.     set the visible of sprite 23 to true
  29.     set the visible of sprite 36 to true
  30.     set the visible of sprite 25 to true
  31.   else if number = 6 then
  32.     set the visible of sprite 22 to true
  33.     set the visible of sprite 33 to true
  34.     set the visible of sprite 24 to true
  35.     set the visible of sprite 36 to true
  36.   else if number = 7 then
  37.     set the visible of sprite 28 to true
  38.     set the visible of sprite 32 to true
  39.     set the visible of sprite 26 to true
  40.     set the visible of sprite 30 to true
  41.   else if number = 8 then
  42.     set the visible of sprite 22 to true
  43.     set the visible of sprite 33 to true
  44.     set the visible of sprite 36 to true
  45.     set the visible of sprite 25 to true
  46.   else if number = 9 then
  47.     set the visible of sprite 32 to true
  48.     set the visible of sprite 28 to true
  49.     set the visible of sprite 24 to true
  50.     set the visible of sprite 30 to true
  51.     set the visible of sprite 26 to true
  52.   end if
  53.   
  54. end